powered by
Methods for "[", i.e., subsetting of repgrid objects.
"["
# S4 method for repgrid [(x, i, j, ..., drop = TRUE)
A repgrid object.
repgrid
Row index (numeric)
Column index. Either numeric or character (elements names).
Not evaluated.
Not used.
x <- boeker x[1:4, ] x[, 1:3] x[1:4, 1:3] x[1:4, c("self", "ideal self", "mother")]
Run the code above in your browser using DataLab